package eleme.openapi.sdk.api.entity.ugc;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;

import eleme.openapi.sdk.api.enumeration.ugc.ORateDataType;

public class ORateInfo {

    /**
     * 店铺编号
     */
    private String shopId;

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    /**
     * 订单的评价信息修改前与修改后的都会返回倒序排列
     */
    private List<OOrderRateInfo> orderRateInfo;

    public List<OOrderRateInfo> getOrderRateInfo() {
        return orderRateInfo;
    }

    public void setOrderRateInfo(List<OOrderRateInfo> orderRateInfo) {
        this.orderRateInfo = orderRateInfo;
    }

    /**
     * 菜品的评价信息
     */
    private List<OOrderItemRateInfo> orderItemRateInfo;

    public List<OOrderItemRateInfo> getOrderItemRateInfo() {
        return orderItemRateInfo;
    }

    public void setOrderItemRateInfo(List<OOrderItemRateInfo> orderItemRateInfo) {
        this.orderItemRateInfo = orderItemRateInfo;
    }

    /**
     * 所有菜品图片urls
     */
    private List<String> imageUrls;

    public List<String> getImageUrls() {
        return imageUrls;
    }

    public void setImageUrls(List<String> imageUrls) {
        this.imageUrls = imageUrls;
    }

    /**
     * 数据类型饿了么和饿了么星选
     */
    private ORateDataType dataType;

    public ORateDataType getDataType() {
        return dataType;
    }

    public void setDataType(ORateDataType dataType) {
        this.dataType = dataType;
    }

    /**
     * 饿了么星选评价是否已经删除只有当该数据为饿了么星选侧数据时才有效
     */
    private Boolean baiduIsDeleted;

    public Boolean getBaiduIsDeleted() {
        return baiduIsDeleted;
    }

    public void setBaiduIsDeleted(Boolean baiduIsDeleted) {
        this.baiduIsDeleted = baiduIsDeleted;
    }

    /**
     * 饿了么星选评价删除的时间只有当该数据为饿了么星选侧数据时才有效
     */
    @JsonFormat(locale = "zh", timezone = "GMT+8")
    private Date baiduDeleteTime;

    public Date getBaiduDeleteTime() {
        return baiduDeleteTime;
    }

    public void setBaiduDeleteTime(Date baiduDeleteTime) {
        this.baiduDeleteTime = baiduDeleteTime;
    }

}
